/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * LoginForm.java
 *
 * Created on 11.01.2010., 20.30.47
 */

/**
 *
 * @author Runner
 */
public class LoginForm extends javax.swing.JFrame {

    /** Creates new form LoginForm */
    public LoginForm() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanelUser = new javax.swing.JPanel();
        jLabelUser = new javax.swing.JLabel();
        jTextFieldUser = new javax.swing.JTextField();
        jPanelPass = new javax.swing.JPanel();
        jLabelPass = new javax.swing.JLabel();
        jTextFieldPass = new javax.swing.JPasswordField();
        jSeparator1 = new javax.swing.JSeparator();
        jPanelLogin = new javax.swing.JPanel();
        jButtonLogin = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setBounds(new java.awt.Rectangle(400, 200, 0, 0));
        setResizable(false);
        getContentPane().setLayout(new javax.swing.BoxLayout(getContentPane(), javax.swing.BoxLayout.Y_AXIS));

        jPanelUser.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

        jLabelUser.setFont(new java.awt.Font("Verdana", 1, 14)); // NOI18N
        jLabelUser.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabelUser.setText("Username:");
        jLabelUser.setHorizontalTextPosition(javax.swing.SwingConstants.LEADING);
        jLabelUser.setMaximumSize(new java.awt.Dimension(100, 20));
        jLabelUser.setMinimumSize(new java.awt.Dimension(100, 20));
        jLabelUser.setPreferredSize(new java.awt.Dimension(100, 20));
        jPanelUser.add(jLabelUser);

        jTextFieldUser.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        jTextFieldUser.setMargin(new java.awt.Insets(1, 5, 1, 1));
        jTextFieldUser.setMaximumSize(new java.awt.Dimension(200, 40));
        jTextFieldUser.setMinimumSize(new java.awt.Dimension(200, 40));
        jTextFieldUser.setPreferredSize(new java.awt.Dimension(200, 40));
        jTextFieldUser.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jTextFieldUserActionPerformed(evt);
            }
        });
        jPanelUser.add(jTextFieldUser);

        getContentPane().add(jPanelUser);

        jPanelPass.setLayout(new java.awt.FlowLayout(java.awt.FlowLayout.LEFT));

        jLabelPass.setFont(new java.awt.Font("Verdana", 1, 14)); // NOI18N
        jLabelPass.setHorizontalAlignment(javax.swing.SwingConstants.RIGHT);
        jLabelPass.setText(" Password:");
        jLabelPass.setMaximumSize(new java.awt.Dimension(100, 20));
        jLabelPass.setMinimumSize(new java.awt.Dimension(100, 20));
        jLabelPass.setPreferredSize(new java.awt.Dimension(100, 20));
        jPanelPass.add(jLabelPass);

        jTextFieldPass.setFont(new java.awt.Font("Tahoma", 0, 24)); // NOI18N
        jTextFieldPass.setMargin(new java.awt.Insets(1, 5, 1, 1));
        jTextFieldPass.setMaximumSize(new java.awt.Dimension(200, 40));
        jTextFieldPass.setMinimumSize(new java.awt.Dimension(200, 40));
        jTextFieldPass.setPreferredSize(new java.awt.Dimension(200, 40));
        jPanelPass.add(jTextFieldPass);

        getContentPane().add(jPanelPass);
        getContentPane().add(jSeparator1);

        jButtonLogin.setText("Login");
        jPanelLogin.add(jButtonLogin);

        getContentPane().add(jPanelLogin);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jTextFieldUserActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jTextFieldUserActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_jTextFieldUserActionPerformed

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new LoginForm().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButtonLogin;
    private javax.swing.JLabel jLabelPass;
    private javax.swing.JLabel jLabelUser;
    private javax.swing.JPanel jPanelLogin;
    private javax.swing.JPanel jPanelPass;
    private javax.swing.JPanel jPanelUser;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JPasswordField jTextFieldPass;
    private javax.swing.JTextField jTextFieldUser;
    // End of variables declaration//GEN-END:variables

}
